import { IListAbility, ListActionType } from '../..';
import { IMDCtrlControllerParams } from './i-md-ctrl-controller-params';

/**
 * 列表部件控制器输入参数接口
 *
 * @export
 * @interface IListControllerParams
 * @extends {IMDCtrlControllerParams<ListActionType, IListAbility>}
 */
export interface IListControllerParams<T, A extends IListAbility>
	extends IMDCtrlControllerParams<T | ListActionType, A> {
	/**
	 * 行激活模式 (0: 无激活、1: 单击激活、2: 双击激活)
	 *
	 * @type {(0 | 1 | 2)}
	 * @memberof IListControllerParams
	 */
	rowActiveMode: 0 | 1 | 2;
}
